package com.jhy.map;

import java.util.HashMap;
import java.util.Hashtable;
import java.util.Map;
import java.util.TreeMap;

/**
 * @Description:
 * @authoer:jihaiyu
 * @date: 2017/6/19 10:02
 */
public class MapTreeTest {


    public static void main(String[] args) {
        TreeMap treeMap = new TreeMap();
        treeMap.put("123",123);
        treeMap.put("123",456);
        System.out.println(treeMap.get("123"));

        Hashtable hashtable = new Hashtable();
        hashtable.put("123",123);
        hashtable.put("123",123);
        HashMap map = new HashMap();
        map.put("111",123123);

    }
}
